package cn.itcast.service.company;

import cn.itcast.domain.company.Company;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CompanyService {
    List<Company> findAll();
    Company findById(String id);
    Integer save(Company company);
    Integer update(Company company);
    Integer delete(String id);
    PageInfo<Company> findByPage(int pageNum, int pageSize);

}
